package com.crazypos.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.crazypos.pojo.OrganizationEntity;
import com.crazypos.pojo.bo.AdminCreateRootOrganizationBO;
import com.crazypos.pojo.bo.AdminUpdateOrganizationBO;
import com.crazypos.pojo.bo.AdminUpdateOwnerBO;
import com.crazypos.pojo.bo.OrganizationCreateBO;

public interface IOrganizationService extends IService<OrganizationEntity> {
    void createorganization(OrganizationCreateBO createBO);

    void adminCreateOrganization(AdminCreateRootOrganizationBO bo, String createById);

    IPage<OrganizationEntity> getOrganizationList(Integer startPage, Integer pageSize, String keyword);

    void adminUpdateOrganization(AdminUpdateOrganizationBO bo);
}
